package com.sixth.service;

import com.sixth.entity.Subject;
import com.sixth.until.CommonResult;
import com.sixth.until.TableResult;

/**
 * @program: self-tui-education
 * @description:
 * @author: 老魏
 * @create: 2022-04-15 17:05
 **/
public interface SubjectService {

    //CommonResult changeStatusId(String id, String statusId, String parentId);
    CommonResult changeStatusId(String id);

   CommonResult insertSubject(Subject subject);

    TableResult findSubject(Integer pageCurrent, Integer pageSize,Subject subject);

    CommonResult updateSubject(Subject subject);

    CommonResult deleteSubject(String id);
}
